package com.qf.shopping.pojo.car;


/**
 * 汽车车型图片表
 * @author Humy
 * @date 2019/4/12 11:34
 */
public class CarModelImage {

    //id
    private Long id;

    //车型ID
    private Long modelId;

    //年款
    private String year;

    //是否默认
    private int isDefault;

    //图片URL
    private String imgUrl;

    //创建时间
    private Long creatTime;

    //最后更新时间
    private Long updateTime;

    //同步时间
    private Long syncTime;

    public CarModelImage() {
    }

    public CarModelImage(Long id, Long modelId, String year, int isDefault, String imgUrl, Long creatTime, Long updateTime, Long syncTime) {
        this.id = id;
        this.modelId = modelId;
        this.year = year;
        this.isDefault = isDefault;
        this.imgUrl = imgUrl;
        this.creatTime = creatTime;
        this.updateTime = updateTime;
        this.syncTime = syncTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public int getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(int isDefault) {
        this.isDefault = isDefault;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Long creatTime) {
        this.creatTime = creatTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(Long syncTime) {
        this.syncTime = syncTime;
    }

    @Override
    public String toString() {
        return "CarModelImage{" +
                "id=" + id +
                ", modelId=" + modelId +
                ", year='" + year + '\'' +
                ", isDefault=" + isDefault +
                ", imgUrl='" + imgUrl + '\'' +
                ", creatTime=" + creatTime +
                ", updateTime=" + updateTime +
                ", syncTime=" + syncTime +
                '}';
    }
}
